package com.gitee.shigen.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * sql同步配置
 * @author shigenfu
 * @date 2023/12/26 17:14
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "sync")
public class SyncConfig {

    /**
     * 数据查询的sql
     */
    private String sql;
    /**
     * sql保存文件的偏移量
     */
    private String sqlLastValueFile;
    /**
     * cron表达式
     */
    private String cron;

}
